package com.duoec.magichour.dto.request;

import java.util.List;

/**
 * Created by ycoe on 17/6/27.
 */
public class ArticleSave {
    /**
     * 文章ID，大于0则表示修改
     * @demo 12345
     */
    private Long id;

    /**
     * 文章照片
     * @demo ["http://assets.duoec.com/img/2ssdfdw.jpg"]
     */
    private List<String> photos;

    /**
     * 文章标题
     * @demo 小白必看：买房前不做好这6项工作，踩坑是迟早的事！
     */
    private String title;

    /**
     * 文章内容
     * @demo 这里是文章的内容...省略一万字...
     */
    private String content;

    /**
     * 文章分类ID
     */
    private Integer cateId;

    /**
     * 文章关联的商品
     * @demo [1234, 1334]
     */
    private List<Long> productIds;

    /**
     * @ 用户ids
     * @demo [123, 124]
     */
    private List<Long> atUserIds;

    /**
     * 话题
     * @demo ["#引领时尚#", "#今年最重要的事#"]
     */
    private List<String> topics;

    /**
     * 关联已有文章
     * @demo [1234, 3456]
     */
    private List<Long> articleIds;

    /**
     * 是否同时发布上线: 1：是，其它值：否
     * @demo 1
     */
    private Integer release;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public List<String> getPhotos() {
        return photos;
    }

    public void setPhotos(List<String> photos) {
        this.photos = photos;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public List<Long> getProductIds() {
        return productIds;
    }

    public void setProductIds(List<Long> productIds) {
        this.productIds = productIds;
    }

    public List<Long> getAtUserIds() {
        return atUserIds;
    }

    public void setAtUserIds(List<Long> atUserIds) {
        this.atUserIds = atUserIds;
    }

    public List<String> getTopics() {
        return topics;
    }

    public void setTopics(List<String> topics) {
        this.topics = topics;
    }

    public List<Long> getArticleIds() {
        return articleIds;
    }

    public void setArticleIds(List<Long> articleIds) {
        this.articleIds = articleIds;
    }

    public Integer getRelease() {
        return release;
    }

    public void setRelease(Integer release) {
        this.release = release;
    }

    public Integer getCateId() {
        return cateId;
    }

    public void setCateId(Integer cateId) {
        this.cateId = cateId;
    }
}
